<?php if(!is_front_page() && !is_home()){ ?>
	<div class="page-title-wrapper">
		<h2 class="page-title">

			<?php
				if(is_category()) {
					echo single_cat_title( "", false );
				} else if(is_tag()) {
					echo single_tag_title( "", false );
				} else if(is_tax()) {
					echo single_term_title( "", false );
				} else if(is_post_type_archive()) {
					echo post_type_archive_title( '', false );
				} else if ( is_day() ) {
					echo 'Daily Archives: '.get_the_date();
				} else if ( is_month() ) {
					 echo 'Monthly Archives: '.get_the_date( 'F Y' );
				} else if ( is_year() ) {
					echo 'Yearly Archives: '.get_the_date( 'Y' );
				} else if(is_search()) {
					echo esc_attr__('Search: ', 'ATIV'), get_search_query();
				} else {
					echo get_the_title();
				}
			?>

		</h2>

	</div>
<?php }?>